-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Racer 2 #629
Conversation
const Racer = require('racer/lib/Racer'); | ||
|
||
export abstract class DerbyBase extends Racer { | ||
export abstract class Derby extends Racer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for EventEmitter
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also racer's use
and serverUse
, might be used for other things too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, also exposing the util functions
const Racer = require('racer/lib/Racer'); | ||
|
||
export abstract class DerbyBase extends Racer { | ||
export abstract class Derby extends Racer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also racer's use
and serverUse
, might be used for other things too
ComponentClass.prototype.singleton = true;
is no longer supported.class ComponentClass { static singleton = true; }
ComponentClass.singleton = true;
Derby
base,DerbyForClient
andDerbyForServer
subclassesPage
base,PageForClient
andPageForServer
subclassesApp
base,AppForClient
andAppForServer
subclassesrender()
method between client and server has consistent arg ordering (previously reversed between client and server)